#ifndef _DRC_H_
#define _DRC_H_

#include <iostream>
#include <vector>
#include <algorithm>
#include <set>
#include "Test_set.h"

using namespace std;

//Return true if two rectangles overlap
bool isOverlap(const Rectangle& rect1, const Rectangle& rect2);

void scan_line(vector<Rectangle>& Rectangles,set<int>& error_index);

#endif

